<? 
	$title="Upload Display Picture"; 
	$pageid="2";
	$accessid="a00";

	require("required/dbconnect.php"); 
	require("required/function.php");
	require("required/header.php");
	
		
	
		$errormsg="";
?>
<table width="100%"  cellpadding="0" cellspacing="5" height="300">
	
	<td width="84%" align="left" valign="top">
		<table width="100%">
			  <tr>
				<td height="20" colspan="7" align="left" class="title" >Upload Watermark</td>
			  </tr>
			 
				 <tr valign="top">
				<tr>
						<td align="left">
						<img src="../images/watermark/watermark.png">
						<br>
						(Please click <a href=# onClick="window.location.reload()"><font color="#FF6600">here</font></a> for the changes)</td>
				
					</tr>
				<form method="post" enctype="multipart/form-data" action="wm_upload2.php">
					<tr> 
						<td valign=top align="left"> 
						<font size=+1>Notice:</font>
						<ul>
						<li>Max Width: 2000px Max Height:2000px</li>
						<li>The file size must less than 2MB</li>
						<li>Must in PNG format.</li>
						</ul>
						</td>
					</tr>
				<tr>
					<td>
					<font color=red><?= $errormsg ?></font><br>
					<input type="hidden" name="MAX_FILE_SIZE" value="2000000"> 
					  <input type="file" name="file" class=button><br>
					  <input type="hidden" name="hidid" value="<?= $id ?>">
					<br><br>
					  <input type="submit" value="Upload" name=submit class=button> <input type="button" value="Back" onclick="window.open('sys_layout.php','_self')" class=button> 
					</td>
				</tr>
				</form>
			</table>
		</td>
				 
	</table>
<? require("required/footer.php"); ?>
